package su.myvaadinprojects.simplevaadinproject;

import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Класс CustomerRepository
 * <p/>
 * Репозиторий
 * <p/>
 *
 * @author petr.mikhailin
 * created 17.11.2023 9:45
 */
public interface CustomerRepository extends JpaRepository<Customer, Long> {

    List<Customer> findByLastNameStartsWithIgnoreCase(String lastName);

}
